Config Update
Update an existing lobby config in Remote Config.
Authentication Required: Yes
ugs lobby config update <config-id> <body> [options]
Arguments
<config-id>
The ID of the config to update.
<body>
The JSON body containing the updated config value. If this is a file path, the content of the file is used; otherwise, the raw string is used.
Options
Alias | Description | |
---|---|---|
project-id | -p, --project-id | The Unity cloud project ID. |
help | -?, -h, --help | Display help and usage information. |
quiet | -q, --quiet | Reduce logging to a minimum. |
json | -j, --json | Use JSON as the output format. |
Body option
The body option must include the type and values array of a config to update. No other data should be present. For example:
{
"type": "lobby",
"value": [
{
"key": "lobbyConfig",
"type": "json",
"schemaId": "lobby",
"value": {
"someBoolValue": false,
"someIntegerValue": 30,
"someObject": {
"maximum": 8,
"minimum": 4
}
}
}
]
}